package main

import "fmt"

type innerS struct {
	in1 int
	in2 int
}

type outerS struct {
	b   int
	c   float32
	int // 匿名字段
	innerS
}

func hello() {
	fmt.Printf("hello World\n")

}

func main() {
	outer2 := new(outerS)
	outer2.b = 8
	outer2.c = 9
	outer2.int = 23
	outer2.innerS.in1 = 34
	outer2.innerS.in2 = 999
	outer2.in1 = 99
	hello()
	fmt.Printf("%v\n", outer2)
}
